declare var require: any
const http = require('http')

http.createServer((request:any, response:any) => {
  response.writeHead(200, { 'Content-Type': 'text/plain' })
  
  response.end('hello origin node')
}).listen(8888)

console.log('Server running at http://127.0.0.1:8888/');
